package ws.loushang;

public class SzshDataExchangeServicePublisherPortTypeProxy implements ws.loushang.SzshDataExchangeServicePublisherPortType {
  private String _endpoint = null;
  private ws.loushang.SzshDataExchangeServicePublisherPortType szshDataExchangeServicePublisherPortType = null;
  
  public SzshDataExchangeServicePublisherPortTypeProxy() {
    _initSzshDataExchangeServicePublisherPortTypeProxy();
  }
  
  public SzshDataExchangeServicePublisherPortTypeProxy(String endpoint) {
    _endpoint = endpoint;
    _initSzshDataExchangeServicePublisherPortTypeProxy();
  }
  
  private void _initSzshDataExchangeServicePublisherPortTypeProxy() {
    try {
      szshDataExchangeServicePublisherPortType = (new ws.loushang.SzshDataExchangeServicePublisherLocator()).getIServicePublisherHttpSoap11Endpoint();
      if (szshDataExchangeServicePublisherPortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)szshDataExchangeServicePublisherPortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)szshDataExchangeServicePublisherPortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (szshDataExchangeServicePublisherPortType != null)
      ((javax.xml.rpc.Stub)szshDataExchangeServicePublisherPortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public ws.loushang.SzshDataExchangeServicePublisherPortType getSzshDataExchangeServicePublisherPortType() {
    if (szshDataExchangeServicePublisherPortType == null)
      _initSzshDataExchangeServicePublisherPortTypeProxy();
    return szshDataExchangeServicePublisherPortType;
  }
  
  public java.lang.String queryBaseInfo(java.lang.String args0, java.lang.String args1, java.lang.String args2, java.lang.String args3) throws java.rmi.RemoteException{
    if (szshDataExchangeServicePublisherPortType == null)
      _initSzshDataExchangeServicePublisherPortTypeProxy();
    return szshDataExchangeServicePublisherPortType.queryBaseInfo(args0, args1, args2, args3);
  }
  
  
}